#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 3s forwards;
  }

  @keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
  }
  



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

h4{
    font-family:Arial, Helvetica, sans-serif;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.left-text, .right-text {
    color: #000;
    font-weight:lighter;
    font-size: 18px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

@media screen and (max-width: 768px) {
    .left-text, .right-text {
        font-size: 14px;
    }
}



.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #fff;
    color: #000;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    margin-top: 30px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 80px;
    height: auto;
    margin-right: 10px;
}

.company-name {
    font-size: 24px;
    font-weight: bold;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.nav-links ul {
    list-style-type: none;
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: #fa0505;
    text-decoration: none;
    font-size: 18px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}


.nav-links a:hover{
  color:#0dd80d;
  text-decoration: none;
  font-size: 18px;
  font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 30px;
}

@media screen and (max-width: 768px) {
    .nav-links ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #054905;
        position: absolute;
        top: 60px;
        left: 0;
    }

    .nav-links.active ul {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
        text-align: center;
    }

    .hamburger {
        display: block;
    }

    .nav-links a {
        font-size: 20px;
        color:#f4f4f4;
    }
}



.verse-popup {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 250px;
    height: 250px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    transition: opacity 0.3s ease;
  }
  
  .popup-content {
    z-index: 2;
    color: #333;
  }
  
  .verse-popup h4 {
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: bold;
  }
  
  .verse-popup p {
    font-size: 0.95rem;
    line-height: 1.3;
  }
  
  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #eee;
    border: none;
    font-size: 1rem;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    z-index: 3;
  }
  
  .close-btn:hover {
    background: #ccc;
  }
  
  /* Responsive */
  @media (max-width: 480px) {
    .verse-popup {
      width: 200px;
      height: 200px;
      bottom: 20px;
      right: 20px;
      padding: 20px;
    }
  
    .verse-popup h4 {
      font-size: 0.9rem;
    }
  
    .verse-popup p {
      font-size: 0.85rem;
    }
  
    .close-btn {
      width: 22px;
      height: 22px;
      font-size: 0.9rem;
    }
  }
  



.hero {
    position: relative;
    background-image: url('../images/homepages-img/onefront4d.png');  
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 20px;
}

/* Add a dimming overlay on the background */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
    z-index: 1; /* Makes sure the overlay stays behind text */
}

.hero-content {
    position: relative;
    margin-top: 100px;
    max-width: 600px;
    color: #fff;  /* Change text color to white for contrast */
    text-align: left;
    padding: 20px;
    z-index: 2;  /* Ensures content stays on top */
}

.hero h1 {
    font-size: 100px;
    line-height: 70px;
    margin-bottom: 20px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}



.hero .subtitle {
    font-size: 24px;
    margin-bottom: 20px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}


.button {
    background-color: #054905;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 18px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    border-radius: 50px;
    display: inline-block;
    transition-duration: 2s;

}

.button:hover {
    background-color:rgb(163, 1, 1);
    color:#fff;
}

@media screen and (max-width: 768px) {
    .hero {
        height: 80vh;
        justify-content: center;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 50px;
    }

    .hero .subtitle {
        font-size: 18px;
    }

    .cta-button {
        font-size: 16px;
        padding: 12px 25px;
    }
}







  /* About Section */
  .about-section {
    position: relative;
    background-image: url('../images/homepages-img/1.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    overflow:hidden;
  }


  /* new overlay to dim full background */
.about-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
  }


  /* make content appear above overlay */
.about-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .about-content {
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .about-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color:#fff;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  }
  
  .about-content p {
    font-size: 1.2rem;
    color:#fff;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .about-content h2 {
      font-size: 2.2rem;
      color: #fff;
    }
  
    .about-content p {
      font-size: 1rem;
      color: #fff;
    }
  
    .about-section {
      background-attachment: scroll;
      padding: 80px 15px;
    }
  }




  .stream-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
  }
  
  .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* dim effect */
    z-index: 2;
  }
  
  .stream-content {
    position: relative;
    z-index: 3;
    color: #fff;
  }
  
  .stream-content h2 {
    font-size: 3rem;
    margin-bottom: 10px;
  }

  .stream-content p {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  }


  
  .play-button {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 2rem;
    border-radius: 50%;
    line-height: 80px;
    text-align: center;
    text-decoration: none;
    border: 2px solid white;
    transition: background 0.3s, transform 0.2s;
  }
  
  .play-button:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .stream-content h2 {
      font-size: 2rem;
    }
  
    .play-button {
      width: 60px;
      height: 60px;
      font-size: 1.5rem;
      line-height: 60px;
    }
  }
  
  



.gallery {
    padding: 20px;
    text-align: center;
}

.gallery-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 images per row */
    gap: 15px; 
    animation: shuffle 2s ease-out forwards; /* Animation to shuffle and settle images */
}

/* Gallery image styling */
.gallery-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

/* Shuffle animation */
@keyframes shuffle {
    0% {
        transform: rotate(360deg) scale(1.2);
        opacity: 0;
    }
    50% {
        transform: rotate(0deg) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
}

/* Adjust for smaller screens (mobile devices) */
@media (max-width: 768px) {
    .gallery-wrapper {
        grid-template-columns: repeat(2, 1fr); /* 2 images per row on tablets */
    }
}

@media (max-width: 480px) {
    .gallery-wrapper {
        grid-template-columns: 1fr; /* 1 image per row on small screens */
    }
}




.testimonials {
  padding: 40px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.testimonials-heading {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.testimonial {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 300px;
  max-width: 90%;
}

.testimonial-text {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #555;
}

.testimonial-author {
  font-weight: bold;
  color: #222;
}

/* Responsive tweaks for phones */
@media (max-width: 600px) {
  .testimonials-heading {
    font-size: 1.5rem;
  }

  .testimonial {
    width: 100%;
  }
}







/* General Styles */
body {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
  }
  
  p{
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 25px;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  /* Leadership Section */
  .leadership {
    background-color: #000;
    padding: 40px 0;
    text-align: center;
  }
  
  .section-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .apostle-and-mama {
    color:#fff;
  }
  
  .team-image img {
    width: 100%;
    max-width: 600px; /* Limit image size */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 0 auto; /* Center image if smaller */
    display: block;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .section-title {
      font-size: 2rem;
    }
  }
  
  @media (max-width: 480px) {
    .section-title {
      font-size: 1.5rem;
    }
  }








  .map-section {
    padding: 20px;
    text-align: center;
  }
  
  .map-heading {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
  }
  
  .map-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
  
  /* Mobile-friendly adjustments */
  @media (max-width: 480px) {
    .map-heading {
      font-size: 1.4rem;
    }
  
    .map-section {
      padding: 15px;
    }
  }
  
  


/* Basic reset for margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}

/* Styling for the sponsor bar */
.sponsor-bar {
    background-color: #333; /* Dark background for contrast */
    color: white;
    padding: 10px 0;
    overflow: hidden; /* Hide anything that goes beyond the container */
}

.sponsor-wrapper {
    display: flex;
    justify-content: space-evenly; /* Equal spacing for the images */
    animation: scroll 15s linear infinite; /* Infinite scrolling effect */
}

.sponsor-image {
    width: 150px; /* Fixed width for images */
    height: auto;
    margin-right: 20px; /* Space between images */
}


/* Create the scroll effect */
@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Adjust for smaller screens (mobile devices) */
@media (max-width: 768px) {
    .sponsor-wrapper {
        justify-content: flex-start; /* Align images to the left */
    }

    .sponsor-image {
        width: 100px; /* Smaller images for mobile */
        margin-right: 10px;
    }
}

@media (max-width: 480px) {
    .sponsor-image {
        width: 80px; /* Even smaller images for very small screens */
        margin-right: 8px;
    }
}





/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

/* Footer Styles */
.footer {
    background-color: #fa0505;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    flex: 1;
    text-align: left;
}

.footer-logo .logo {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 14px;
    color: #bdc3c7;
}

.center-dash{
    text-align:center;
}

.footer-links {
    flex: 1;
    text-align: left;
}

.footer-links h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 16px;
}

.footer-links ul li a:hover {
    color: #3498db;
}

.footer-social {
    flex: 1;
    text-align: left;
}

.footer-social h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.social-icons .social-icon {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.social-icons .social-icon:hover {
    transform: scale(1.1);
}

@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-logo, .footer-links, .footer-social {
        flex: none;
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-links ul li {
        margin-bottom: 8px;
    }

    .footer-social .social-icons {
        justify-content: center;
    }

    .footer-logo .logo {
        width: 120px;
    }
}



.site-footer {
    text-align: center;
    font-size: 0.9rem;
    padding: 1rem;
    background-color: #000;
    color: #fff;
    border-top: 1px solid #ddd;
  }
  
  @media (max-width: 600px) {
    .site-footer {
      font-size: 0.8rem;
      padding: 0.75rem;
    }
  }
  


